# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
# Nonofficial ebuild by Ycarus. For new version look here : http://gentoo.zugaina.org/

inherit eutils

MY_P="${PN}-${PV/_alpha/test}"
DESCRIPTION="A small command line tool for setting the special features that are available on some Logitech mice."
HOMEPAGE="http://freshmeat.net/projects/logitech_applet"
SRC_URI="http://www.frogmouth.net/${MY_P}.tar.gz"
RESTRICT="nomirror"
LICENSE="GPL-2"
KEYWORDS="~x86 ~amd64 ~ppc"
IUSE=""
DEPEND="dev-libs/libusb"

S=${WORKDIR}/${MY_P}

src_install() {
    dodir sbin
    exeinto sbin
    doexe ${PN}
}

pkg_postinst() {
    einfo
    einfo "You need root access to run this tool."
    einfo
}
